package ch5.ext;

public class PetTest2 {

	public static void main(String[] args) {
		Dog d = new Dog("大黄", 60, 60, "狼狗");

		Dog d2 = new Dog("大黄", 90, 96, "狼狗");
		System.out.println(d == d2);
		System.out.println(d.equals(d2));

	}

}
